Bookly\Lib\Utils\Common D

Total Complexity 127
Dependencies 14
Dependents 82
Total lines 824
Lines of code 495
Logical lines of code 197
Comment lines 211
Methods 38
Properties 1

Methods 38

Method Rating Maintainability Complexity Lines of code
postsHaveShortCode()
B
43 19 44
getCalendarSettings()
A
41 11 53
getGateways()
S
52 7 23
noCache()
S
62 6 13
getDurationSelectOptions()
S
52 5 26
hasBooklyShortCode()
S
61 6 11
getIndustries()
S
36 1 85
getServiceDataForDropDown()
S
52 5 24
cancelAppointmentRedirect()
S
61 5 12
getAdminEmails()
S
55 4 18
getCurrentPageURL()
S
63 5 9
syncWithCalendars()
S
67 5 7
getCurrentUserTimeZone()
S
61 4 12
getFilesystem()
S
62 3 11
_xor()
S
63 3 9
isCurrentUserCustomer()
S
71 3 5
getAttachmentUrl()
S
69 3 6
updateBlogUsersMeta()
S
58 2 15
redirect()
S
56 1 23
emptyResponse()
S
69 2 7
getImageTag()
S
72 2 5
escAdminUrl()
S
67 2 7
prepareUrlReferrers()
S
64 2 10
isCurrentUserStaff()
S
73 2 4
getCsrfToken()
S
70 2 6
generateToken()
S
67 2 7
isCurrentUserAdmin()
S
78 2 3
isCurrentUserSupervisor()
S
78 2 3
getRequiredCapability()
S
79 2 3
getTranslatedOption()
S
78 1 3
xorDecrypt()
S
78 1 3
xorEncrypt()
S
78 1 3
getTranslatedString()
S
77 1 3
stripScripts()
S
78 1 3
html()
S
81 1 3
css()
S
78 1 3
arrayMapRecursive()
S
71 1 6
disableEmoji()
S
68 1 7